package com.dragon.modules.yuegou.client.wechat_mini.request;

import com.fasterxml.jackson.annotation.JsonProperty;

public class GetReplayRequest {

	/**
	 * 获取回放
	 */
	private String action = "get_replay";

	/**
	 * 直播间ID
	 */
	@JsonProperty("room_id")
	private Integer roomId;

	/**
	 * 起始拉取视频，0表示从第一个视频片段开始拉取
	 */
	private Integer start;

	/**
	 * 每次拉取的数量，建议100以内
	 */
	private Integer limit;

	/**
	 * 请求初始化
	 * 
	 * @param action
	 *            获取回放 默认为“get_replay”
	 * @param roomId
	 *            直播间ID 获取直播间回放时必传参数
	 * @param start
	 *            起始拉取视频，0表示从第一个视频片段开始拉取
	 * @param limit
	 *            每次拉取的数量，建议100以内
	 */
	public GetReplayRequest(Integer roomId, Integer start, Integer limit) {
		this.roomId = roomId;
		this.start = start;
		this.limit = limit;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public Integer getRoomId() {
		return roomId;
	}

	public void setRoomId(Integer roomId) {
		this.roomId = roomId;
	}

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

}
